package com.ztgf.order.models.dto.pay;

import com.baomidou.mybatisplus.annotations.TableName;
import com.ztgf.common.dto.BaseDTO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * 支付日志表DTO
 *
 * @author mxli
 * @Date 2021-06-03 16:12:28
 */
@Data
@TableName("pay_order_log")
@ApiModel(value="支付日志表对象", description="支付日志表对象")
public class PayOrderLogDTO extends BaseDTO implements Serializable {

    @ApiModelProperty(value = "乐观锁")
    private Integer revision;
    @ApiModelProperty(value = "创建人")
    private Long createUserId;
    @ApiModelProperty(value = "创建名字")
    private String createUserName;
    @ApiModelProperty(value = "更新人")
    private Long updateUserId;
    @ApiModelProperty(value = "店铺报价表id")
    private Long commodityBargainId;
    @ApiModelProperty(value = "订单表id")
    private Long orderId;
    @ApiModelProperty(value = "重复支付原支付订单流水号")
    private Long oldPayOrderLogId;
    @ApiModelProperty(value = "订单期数id")
    private Long orderPeriodsId;
    @ApiModelProperty(value = "期数")
    private Integer periods;
    @ApiModelProperty(value = "付款店铺id")
    private Long payShopId;
    @ApiModelProperty(value = "收款店铺id")
    private Long recvShopId;
    @ApiModelProperty(value = "金额")
    private BigDecimal money;
    @ApiModelProperty(value = "支付订单类型：0支付，1退款、2冻结、3解冻")
    private Integer payOrderType;
    @ApiModelProperty(value = "支付类型：0余额，1网银，2票据")
    private Integer payType;
    @ApiModelProperty(value = "金额类型：0订单金额，1佣金、2缴纳保证金、3年费、4采购申请平台砍价、5砍价手续费、6重复支付，7售后退款、8解冻保证金、9扣除保证金、10取消订单退款、11取消砍价服务费退款、12售后服务费退款、13签收解冻金额、14解冻砍价手续费、15缴纳物流保证金，16解冻物流保证金、17扣除物流保证金、18支付物流账单、19佣金退款")
    private Integer type;
    @ApiModelProperty(value = "金额状态：0未冻结，1冻结")
    private Integer moneyStatus;
    @ApiModelProperty(value = "平台砍价支付状态：0未支付，1支付中、2支付成功、3支付失败")
    private Integer status;
    @ApiModelProperty(value = "支付id")
    private String payOrderId;
    @ApiModelProperty(value = "说明")
    private String notes;

    @ApiModelProperty(value = "票据名称")
    private String billName;
    @ApiModelProperty(value = "票据url")
    private String billUrl;

    @ApiModelProperty(value = "银行id")
    private String bankId;
    @ApiModelProperty(value = "银行名称")
    private String bankName;
}
